Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gcc: compile with -std=gnu++98 to fix build with gcc6 #384

Merged
merged 1 commit into from
Jun 1, 2016

Conversation

escalade
Copy link
Contributor

Compiling gcc 5.3.0 with gcc 6 fails. Using -std=gnu++98 remedies this.

@MilhouseVH
Copy link
Contributor

Can you include details from your build log of the failure? Might help others if they hit the same issue.

@escalade
Copy link
Contributor Author

escalade commented May 23, 2016

Here you go:

In file included from /home/user/LibreELEC.tv/build.LibreELEC-Generic.x86_64-8.0-devel/gcc-5.3.0/gcc/cp/except.c:1023:0:
cfns.gperf: In function 'const char* libc_name_p(const char*, unsigned int)':
cfns.gperf:101:1: error: 'const char* libc_name_p(const char*, unsigned int)' redeclared inline with 'gnu_inline' attribute
cfns.gperf:26:14: note: 'const char* libc_name_p(const char*, unsigned int)' previously declared here
cfns.gperf: At global scope:
cfns.gperf:26:14: warning: inline function 'const char* libc_name_p(const char*, unsigned int)' used but never defined
Makefile:1065: recipe for target 'cp/except.o' failed
make[3]: *** [cp/except.o] Error 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants